package com.hsogoo.avatar.model;

import lombok.Data;

/**
 * @Author huangsaigang
 * Created @2018/9/29.
 */
@Data
public class AvatarAddress {

    private String host;
    private int port;

    public AvatarAddress() {
    }

    public AvatarAddress(String host, int port) {
        this.host = host;
        this.port = port;
    }

    @Override
    public String toString() {
        return host + ':' + port;
    }

}
